Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / GeneralFormatter Class / Format Method / Format(Object,Nullable<Color>) Method
The object value to format.
The conditional foreground color.


In This Topic
    Format(Object,Nullable<Color>) Method
    In This Topic
    Formats the specified object as a string with a conditional color.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function Format( _
       ByVal obj As Object, _
       ByRef conditionalForeColor As Nullable(Of Color) _
    ) As String
    'Usage
     
    Dim instance As GeneralFormatter
    Dim obj As Object
    Dim conditionalForeColor As Nullable(Of Color)
    Dim value As String
     
    value = instance.Format(obj, conditionalForeColor)
    public virtual string Format( 
       object obj,
       out Nullable<Color> conditionalForeColor
    )

    Parameters

    obj
    The object value to format.
    conditionalForeColor
    The conditional foreground color.

    Return Value

    Returns the formatted string.
    See Also